package com.example.assignment5.repository;

import com.example.assignment5.commodity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface commodityRepository extends JpaRepository<commodity,Long> {

    List<commodity> findCommodityByName(String name);

    List<commodity> findCommodityByNameContaining(String name);
}
